<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model as Base;


class Model extends Base
{

    public $timestamps = true;
    //修改update_at create_at
    public function fromDateTime($value){
        return strtotime(parent::fromDateTime($value));
    }

}
